package com.skzh.system.domain;

import com.skzh.common.annotation.Excel;
import com.skzh.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 附件存储对象 base_attach
 *
 * @author wenlinchuan
 * @date 2024-06-20
 */
public class BaseAttach extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long attachId;

    /**
     * 业务类型
     */
    @Excel(name = "业务类型")
    private String attachBizTypeDict;

    /**
     * 业务ID
     */
    @Excel(name = "业务ID")
    private String attachBizId;

    /**
     * 附件名称
     */
    @Excel(name = "附件名称")
    private String attachName;

    /**
     * 附件扩展名
     */
    @Excel(name = "附件扩展名")
    private String attachFormat;

    /**
     * 附件存储路径
     */
    @Excel(name = "附件存储路径")
    private String attachPath;

    /**
     * 附件uri
     */
    @Excel(name = "附件uri")
    private String attachUri;

    /**
     * 是否删除 0-否 1-是
     */
    @Excel(name = "是否删除 0-否 1-是")
    private Long isDel;

    /**
     * 是否有效
     */
    @Excel(name = "是否有效")
    private String isActive;

    public void setAttachId(Long attachId) {
        this.attachId = attachId;
    }

    public Long getAttachId() {
        return attachId;
    }

    public void setAttachBizTypeDict(String attachBizTypeDict) {
        this.attachBizTypeDict = attachBizTypeDict;
    }

    public String getAttachBizTypeDict() {
        return attachBizTypeDict;
    }

    public void setAttachBizId(String attachBizId) {
        this.attachBizId = attachBizId;
    }

    public String getAttachBizId() {
        return attachBizId;
    }

    public void setAttachName(String attachName) {
        this.attachName = attachName;
    }

    public String getAttachName() {
        return attachName;
    }

    public void setAttachFormat(String attachFormat) {
        this.attachFormat = attachFormat;
    }

    public String getAttachFormat() {
        return attachFormat;
    }

    public void setAttachPath(String attachPath) {
        this.attachPath = attachPath;
    }

    public String getAttachPath() {
        return attachPath;
    }

    public void setAttachUri(String attachUri) {
        this.attachUri = attachUri;
    }

    public String getAttachUri() {
        return attachUri;
    }

    public void setIsDel(Long isDel) {
        this.isDel = isDel;
    }

    public Long getIsDel() {
        return isDel;
    }

    public void setIsActive(String isActive) {
        this.isActive = isActive;
    }

    public String getIsActive() {
        return isActive;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("attachId", getAttachId())
                .append("attachBizTypeDict", getAttachBizTypeDict())
                .append("attachBizId", getAttachBizId())
                .append("attachName", getAttachName())
                .append("attachFormat", getAttachFormat())
                .append("attachPath", getAttachPath())
                .append("attachUri", getAttachUri())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("isDel", getIsDel())
                .append("isActive", getIsActive())
                .append("remark", getRemark())
                .toString();
    }
}
